package com.sj.purchase.modules.cost.event;

import com.sj.purchase.modules.cost.domain.SucTask;
import org.springframework.context.ApplicationEvent;

import java.util.Date;

/**
 * Created by yangrd on 2017/11/10
 **/
public class RunTaskEvent extends ApplicationEvent {

    private SucTask.TaskType taskType;

    private Date taskDay;

    public RunTaskEvent(Object source, SucTask.TaskType taskType, Date taskDay) {
        super(source);
        this.taskType = taskType;
        this.taskDay = taskDay;
    }

    public SucTask.TaskType getTaskType() {
        return taskType;
    }

    public Date getTaskDay() {
        return taskDay;
    }
}
